import java.util.Scanner;
public class demo10 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.print("请输入华氏温度: ");
        int h = scanner.nextInt();
        System.out.println((h - 32) * 5 / 9);
        scanner.close();
    }
    }

